package com.ruoyi.population.service;

import java.util.List;
import com.ruoyi.population.domain.XlkjPopulation;
import com.ruoyi.population.domain.xlkjPopSurvey;

/**
 * 人口Service接口
 *
 * @author wang
 * @date 2022-01-11
 */
public interface IXlkjPopulationService
{
    /**
     * 查询人口
     *
     * @param id 人口主键
     * @return 人口
     */
    public XlkjPopulation selectXlkjPopulationById(Long id);

    /**
     * 查询人口列表
     *
     * @param xlkjPopulation 人口
     * @return 人口集合
     */
    public List<XlkjPopulation> selectXlkjPopulationList(XlkjPopulation xlkjPopulation);

    /**
     * 新增人口
     *
     * @param xlkjPopulation 人口
     * @return 结果
     */
    public int insertXlkjPopulation(XlkjPopulation xlkjPopulation);

    /**
     * 修改人口
     *
     * @param xlkjPopulation 人口
     * @return 结果
     */
    public int updateXlkjPopulation(XlkjPopulation xlkjPopulation);

    /**
     * 批量删除人口
     *
     * @param ids 需要删除的人口主键集合
     * @return 结果
     */
    public int deleteXlkjPopulationByIds(Long[] ids);

    /**
     * 删除人口信息
     *
     * @param id 人口主键
     * @return 结果
     */
    public int deleteXlkjPopulationById(Long id);

    /**
     * 人口数据
     */
    public String importDevice(List<XlkjPopulation> details);

    public List<XlkjPopulation> selectPopByDepartmentId(String[] departmentId);

    xlkjPopSurvey selectPeopleNumByDeptId(Long deptId);

}
